package config

import (
	"reflect"

	"zstackgo/spring"
)

func init() {
	spring.RegisterInterface("core.config.GlobalConfigFacade", reflect.TypeOf((*GlobalConfigFacade)(nil)).Elem())
}

type GlobalConfigFacade interface {
	GetAllConfig() map[string]*GlobalConfig
	GetConfigValue(category, name string, clz reflect.Type) interface{}
}
